import { PAYRECORDINDEX_LIST } from "../../../Action/payment/payRecord/payRecordIndex";
import objectAssign from "object-assign";
//获取支付记录数据
const initData = {
	periods: "", //支付总期数
	period: "", //支付第几期
	orderNo: "", //订单编号
	orderName: "", //订单名称
	orderAmt: "", //支付金额
	payStatus: "", //支付状态
	orderState: "" //订单状态
};
const payRecordIndex = (state = initData, action = {}) => {
	switch (action.type) {
		case PAYRECORDINDEX_LIST:
			return objectAssign({}, state, action.options);
		default:
			return state;
	}
};
export default payRecordIndex;
